import {request} from '../../public/utils/request';
import {CADILLAC_URL} from '../../public/utils/constants';
import {pageParams,paramSny} from '../../public/utils/';

//获取菜单配置id
export function getPageConfigureById(id) {
  return request(CADILLAC_URL+'/pageConfigure/getPageConfigureByMenuId?menuId=' +id);
}
/** 菜单-列表查询
 * author renzhiqiang
 * timer 2018-4-18
 */
export function fetch(params) {
  return request((params.configPage.url||"")+"?page=" + pageParams(params.pageParam) + paramSny(params.filterData))
}


